package com.woniu.apartment.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公寓对象 tb_apartment_main
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "ApartmentMain", description = "公寓")
public class ApartmentMain implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 公寓主键 */
    @ApiModelProperty("公寓主键")
    private Long id;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    @ApiModelProperty("公寓名称")
    private String apartmentName;

    /** 国家 */
    @Excel(name = "国家")
    @ApiModelProperty("国家")
    private Long country;

    /** 州或省一级单位 */
    @Excel(name = "州或省一级单位")
    @ApiModelProperty("州或省一级单位")
    private Long state;

    /** 城市 */
    @Excel(name = "城市")
    @ApiModelProperty("城市")
    private Long city;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    @ApiModelProperty("邮政编码")
    private String postCode;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty("详细地址")
    private String addressInfo;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private String latitude;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private String longtitude;

    /** 设施评分 */
    @Excel(name = "设施评分")
    @ApiModelProperty("设施评分")
    private Long facilityScore;

    /** 交通评分 */
    @Excel(name = "交通评分")
    @ApiModelProperty("交通评分")
    private Long trafficScore;

    /** 安全评分 */
    @Excel(name = "安全评分")
    @ApiModelProperty("安全评分")
    private Long securityScore;

    /** 服务评分 */
    @Excel(name = "服务评分")
    @ApiModelProperty("服务评分")
    private Long serviceScore;

    /** 性价比评分 */
    @Excel(name = "性价比评分")
    @ApiModelProperty("性价比评分")
    private Long costPerScore;

    /** 综合评分 */
    @Excel(name = "综合评分")
    @ApiModelProperty("综合评分")
    private Long score;

    /** 公寓内房型最低租金 */
    @Excel(name = "公寓内房型最低租金")
    @ApiModelProperty("公寓内房型最低租金")
    private BigDecimal rent;

    /** 货币种类 */
    @Excel(name = "货币种类")
    @ApiModelProperty("货币种类")
    private String currency;

    /** 收藏次数 */
    @Excel(name = "收藏次数")
    @ApiModelProperty("收藏次数")
    private Long collections;

    /** 评论次数 */
    @Excel(name = "评论次数")
    @ApiModelProperty("评论次数")
    private Long comments;

    /** 大图的url地址 */
    @Excel(name = "大图的url地址")
    @ApiModelProperty("大图的url地址")
    private String imageUrl;

    /** 公寓简介 */
    @Excel(name = "公寓简介")
    @ApiModelProperty("公寓简介")
    private String briefDesc;

    /** 需要特别强调的优势项目描述：例如打折等等 */
    @Excel(name = "需要特别强调的优势项目描述：例如打折等等")
    @ApiModelProperty("需要特别强调的优势项目描述：例如打折等等")
    private String extraDesc;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setApartmentName(String apartmentName)
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName()
    {
        return apartmentName;
    }
    public void setCountry(Long country)
    {
        this.country = country;
    }

    public Long getCountry()
    {
        return country;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setCity(Long city)
    {
        this.city = city;
    }

    public Long getCity()
    {
        return city;
    }
    public void setPostCode(String postCode)
    {
        this.postCode = postCode;
    }

    public String getPostCode()
    {
        return postCode;
    }
    public void setAddressInfo(String addressInfo)
    {
        this.addressInfo = addressInfo;
    }

    public String getAddressInfo()
    {
        return addressInfo;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setLongtitude(String longtitude)
    {
        this.longtitude = longtitude;
    }

    public String getLongtitude()
    {
        return longtitude;
    }
    public void setFacilityScore(Long facilityScore)
    {
        this.facilityScore = facilityScore;
    }

    public Long getFacilityScore()
    {
        return facilityScore;
    }
    public void setTrafficScore(Long trafficScore)
    {
        this.trafficScore = trafficScore;
    }

    public Long getTrafficScore()
    {
        return trafficScore;
    }
    public void setSecurityScore(Long securityScore)
    {
        this.securityScore = securityScore;
    }

    public Long getSecurityScore()
    {
        return securityScore;
    }
    public void setServiceScore(Long serviceScore)
    {
        this.serviceScore = serviceScore;
    }

    public Long getServiceScore()
    {
        return serviceScore;
    }
    public void setCostPerScore(Long costPerScore)
    {
        this.costPerScore = costPerScore;
    }

    public Long getCostPerScore()
    {
        return costPerScore;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setRent(BigDecimal rent)
    {
        this.rent = rent;
    }

    public BigDecimal getRent()
    {
        return rent;
    }
    public void setCurrency(String currency)
    {
        this.currency = currency;
    }

    public String getCurrency()
    {
        return currency;
    }
    public void setCollections(Long collections)
    {
        this.collections = collections;
    }

    public Long getCollections()
    {
        return collections;
    }
    public void setComments(Long comments)
    {
        this.comments = comments;
    }

    public Long getComments()
    {
        return comments;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setBriefDesc(String briefDesc)
    {
        this.briefDesc = briefDesc;
    }

    public String getBriefDesc()
    {
        return briefDesc;
    }
    public void setExtraDesc(String extraDesc)
    {
        this.extraDesc = extraDesc;
    }

    public String getExtraDesc()
    {
        return extraDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("apartmentName", getApartmentName())
            .append("country", getCountry())
            .append("state", getState())
            .append("city", getCity())
            .append("postCode", getPostCode())
            .append("addressInfo", getAddressInfo())
            .append("latitude", getLatitude())
            .append("longtitude", getLongtitude())
            .append("facilityScore", getFacilityScore())
            .append("trafficScore", getTrafficScore())
            .append("securityScore", getSecurityScore())
            .append("serviceScore", getServiceScore())
            .append("costPerScore", getCostPerScore())
            .append("score", getScore())
            .append("rent", getRent())
            .append("currency", getCurrency())
            .append("collections", getCollections())
            .append("comments", getComments())
            .append("imageUrl", getImageUrl())
            .append("briefDesc", getBriefDesc())
            .append("extraDesc", getExtraDesc())
            .toString();
    }
}
